<template>
  <div class="common-layout">
    <el-container>
      <el-aside width="auto">
        <Lm />
      </el-aside>
      <el-container>
        <el-header>
          <Rt />
        </el-header>
        <el-main>
          <router-view></router-view>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>
    
<script setup lang='ts'>
import Lm from "@/components/LeftMenu.vue";
import Rt from "@/components/RightTop.vue";
</script>
    
<style lang="scss" scoped>
.el-aside {
  background-color: #333;
}

.el-header {
  // background-color: gainsboro;
}

.el-main {
  background-color: gainsboro;
}

.el-aside,
.el-container,
.common-layout,
#app,
body,
html {
  height: 100vh;
}
</style>